package com.qf.android.huihui.utils;

/**
 * Created by lenovo on 2017/1/5.
 */

public class HHutil {
    public static final String BASEURL = "http://app.huihui.cn/";
    //retrofit
    //晒物一级接口
    public static final String RSHOW = "app/shaidan/list?platform=android&system_version=5.1&app_version=3.9.3"
            + "&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    public final static String getShowthing(int page, int lastpubtime) {
        return "app/shaidan/list?page=" + page + "&lastpubtime="
                + lastpubtime + "&platform=android&system_version=5.1&app_version=3.9.3" +
                "&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    }

    //资讯一级接口
    public static final String RInformation = "app/zixun/list?platform=android&system_version=5.1"
            + "&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor="
            + "market_360&model=PRO+5";

    public final static String getCounsult(int page, int lastshowid) {
        return "app/zixun/list?page=" + page
                + "&lastshowid=" + lastshowid + "&platform=android&system_version=5.1" +
                "&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=" +
                "market_360&model=PRO+5";
    }

    public static final String COUNSULT = "app/zixun/list?page=0&lastshowid=0&platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    //海淘上半部分一级接口
    public static final String SHOPPING_FIRST = "app/abroad/banners?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    //海淘下半部分接口
    public static final String shopping_second_hot_and_business = "http://app.huihui.cn/app/abroad/recmerchant?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    public static final String shopping_second_hot = "http://app.huihui.cn/app/abroad/toptopic?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    public static final String shopping_second_recommend = "http://app.huihui.cn/app/abroad/top_pull?category=all&interval=277942&platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    //国内头部接口（viewpager+抢时间）
    public static final String DOMESTIC1 = "http://app.huihui.cn/app/inland/banners?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    //国内（后半部分的接口）
    public static final String DOMESTIC2 = "http://app.huihui.cn/app/inland/top_pull?category=all&interval=609624&platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    //清单一级接口
    public static final String MANIFEST = "deals/category.json?category=goods_list&with_user=1&with_merchant=1&since_time=0&max_time=0&platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    //清单二级接口
    public final static String getDetailSecondUrl(int id) {
        return "deals/goods_list/" + id + ".json?platform=android&system_version=5.1&app_version=3.9.3&device_id" +
                "=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
    }

    public static final String MANIFEST_SECOND = "deals/goods_list/1137.json?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";

    public static final String SEARCH = "hot_suggest/list.json?platform=android&system_version=5.1&app_version=3.9.3&device_id=867905022627881&appname=deals_app&vendor=market_360&model=PRO+5";
}
